<?php


class FeatTable extends Doctrine_Table
{
    
    public static function getInstance()
    {
        return Doctrine_Core::getTable('Feat');
    }
    
    public static function getFeatsList($id){
    	return self::getInstance()->createQuery('f')->select('f.id_annoset, f.name, f.value, f.href')
    			->where('f.id_annoset = ?', $id);
    }
}